package com.kun.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author SunKun
 * @since 2021-06-14
 */
@TableName("t_blogtype")
public class Blogtype implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 博客分类编号
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 博客分类名称
     */
    @TableField("typeName")
    private String typename;

    /**
     * 博客优先级排序
     */
    @TableField("orderNo")
    private Integer orderno;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public Integer getOrderno() {
        return orderno;
    }

    public void setOrderno(Integer orderno) {
        this.orderno = orderno;
    }

    @Override
    public String toString() {
        return "Blogtype{" +
        "id=" + id +
        ", typename=" + typename +
        ", orderno=" + orderno +
        "}";
    }
}
